﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net;

public partial class Page_test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        wsafauth.AuthenticationService auth = new wsafauth.AuthenticationService();
        ICredentials tIC = new NetworkCredential("zhangxiaojing", "kw12301!", "jd");
        auth.Credentials = tIC;
        Guid userID = auth.CheckUserPassword("jd\\zhangxiaojing", "kw12301!");
        Response.Write(userID.ToString());
    }
}
